package org.jeecg.modules.demo.storageoutindetail.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.demo.storageoutindetail.entity.StorageOutinDetail;

/**
 * @Description: 出入库明细表
 * @Author: jeecg-boot
 * @Date: 2022-02-14
 * @Version: V1.0
 */
public interface StorageOutinDetailMapper extends BaseMapper<StorageOutinDetail> {
    /**
     * 查询出入库明细列表
     *
     * @param page
     * @param storeId
     * @param commodityName
     * @param billNo
     * @param commodityType
     * @param operateType
     * @param beginTime
     * @param endTime
     * @return
     */
    IPage<StorageOutinDetail> searchList(Page page,
                                         @Param("storeId") String storeId, @Param("commodityName") String commodityName, @Param("billNo") String billNo, @Param("commodityType") String commodityType,
                                         @Param("operateType") String operateType, @Param("beginTime") String beginTime, @Param("endTime") String endTime);

}
